$(function()
{
    $("#pushedit").click(function()
    {
        $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });


        var arr=new Array();
        arr['nickname']=$("#username").val();
        arr['sex']=$("input:radio:checked").val();
        arr['birthday']=$("#birthday").val();
        arr['addrInfo']=$("#residecommunity").val();
        arr['addr']=$("#Province").val()+"-"+$("#Country").val()+"-"+$("#Town").val();;

        $.post("/userContentdata",{"arr":arr},function(msg)
            {
                alert(msg);
            });

    })
})